<!-- @author zhengjie -->
<template>
    <el-select v-model="value" multiple placeholder="请选择" :popper-class="'t-select'" class="ts-select" filterable
        style="width: 100%;">
        <el-option v-for="item in options" :key="item.value" :label="item.label" :value="item.value">
        </el-option>
    </el-select>
</template>
  
<script>
export default {
    name: 'TSelect',
    props: {
        options: {//全部数据
            type: Array
        },
        optArray: {//选中数据 
            type: Array,
        },
        type: {
            type: Boolean,
        },
    },
    watch: {

    },
    data() {
        return {
            value: [],
            
        }
    },
    methods: {
        closeDialog() {//关闭回调
            this.$emit("closeDialog", false);
        },
    }
}
</script>
  
<style rel="stylesheet/scss" lang="scss" scoped></style>
  